package com.emergency.embackend.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @author chddd
 * @description
 * @create 2024/2/25 21:40:28
 */
@Data
public class Article {
    private Long id;
    private Long typeId;
    private String articleName;
    private String articleExplain;
    private String articlePhotoUrl;
    private String articleMsg;
    private String articleUploadName;
    private String articleSource;
    private Long viewCount;
    private Long likeCount;
    private Long collectCount;
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private Date updateTime;
}
